Shootings
Tanzania's president on Wednesday said five people are dead, including three police officers, after a gun battle with an armed man near the French Embassy in Dar es Salaam.
It was not immediately clear whether the shootout in the heavily guarded diplomatic area was a terror attack.
Liberatus Sabas, Tanzania's head of police operations, said the gunman attacked two police officers, took their guns and then "began shooting sporadically towards the French Embassy."
"He then took cover at a structure next to the French Embassy where he continued shooting," Sabas said.
Inspector general of police Simon Sirro told reporters the armed man was a foreigner and police believe he was from Somalia.
Sirro also warned the attack could be linked to the jihadist insurgency in neighbouring Mozambique, where a growing number of African nations are jointly pursuing the fighters.
The confrontation occurred shortly after President Samia Suluhu Hassan addressed security officials in another part of the city, Tanzania's commercial hub.
The president later said three police officers, a member of the auxiliary police and the armed man were killed, and she ordered an investigation.
The U.S. Embassy in a security alert warned citizens to avoid the area.
The shootout occurred not far from the scene of the deadly bombing in 1998 at the U.S. Embassy.
01:09
Co-hosts Kenya, Tanzania and Uganda set to make history as first CHAN tournament co-hosts
01:14
Tanzania bans foreigners from key businesses, risks regional fallout
Go to video
Togo protests erupt after Constitutional changes extend Faure Gnassingbé’s grip on power
02:05
Kenya, Uganda and Tanzania ready for kick off ahead of African Nations Championship
01:05
"Shoot in the leg": Ruto orders Kenyan police to curb protest vandalism
01:30
Top South African official accuses police minister of colluding with crime syndicates